package com.baomidou.springwind.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * Created by Administrator on 2016/12/11.
 */
@TableName(value = "employee")
public class Employee {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /** 员工ID */
    @TableId
    private String id;
    /** 员工姓名 */
    private String name;
    /** 部门ID */
    private String departmentid;
    /** 职工号 */
    private int employeenum;
    /** 性别 */
    private int sex;
    /** 电话号码 */
    private String phonenum;
    /** 岗位 */
    private String job;
    /** 状态 */
    private int datastatus;
    /** 创建时间 */
    private String createtime;
    /** 修改时间 */
    private String changetime;
    /** 基本工资 */
    private int basicwage;
    /** 奖金 */
    private int bonus;
    /** 补贴 */
    private int allowance;
    /**
     * 部门名
     */
    @TableField(exist = false)
    private String  departmentname;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(String departmentid) {
        this.departmentid = departmentid;
    }

    public int getEmployeenum() {
        return employeenum;
    }

    public void setEmployeenum(int employeenum) {
        this.employeenum = employeenum;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public int getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(int datastatus) {
        this.datastatus = datastatus;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getChangetime() {
        return changetime;
    }

    public void setChangetime(String changetime) {
        this.changetime = changetime;
    }

    public int getBasicwage() {
        return basicwage;
    }

    public void setBasicwage(int basicwage) {
        this.basicwage = basicwage;
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }

    public int getAllowance() {
        return allowance;
    }

    public void setAllowance(int allowance) {
        this.allowance = allowance;
    }


    public String getDepartmentname() {
        return departmentname;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }
}
